package com.homework7;

public class CollogeStudents extends Person {
    private double burse;

    public CollogeStudents(double burse) {
       setBurse(burse);
    }

    public double getBurse() {
        return burse;
    }

    public void setBurse(double burse) {
        this.burse = burse;
    }
    public void pay(){
        System.out.println("大学生支出："+getBurse());
    }
}
